# -*- mode: snippet -*-
# name: prev_permutation
# key: prp
# --
if (std::prev_permutation(std::begin(${1:container}), std::end($1))) {
  $2
}
$0
